package com.yuxi.modelDesc;

import lombok.Data;
import com.yuxi.model.Banner;


import com.yuxi.enums.BannerShowFlagEnum;
import com.yuxi.enums.BannerDelFlagEnum;
import com.yuxi.enums.BannerPositionFlagEnum;

/**
*    @author sunke
*    @Date 2023-10-13 10:28:17
*    @description BannerDesc      广告图
*/
@Data
public class BannerDesc extends Banner {


    private String showFlagDesc;
    private String delFlagDesc;
    private String positionFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=BannerShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=BannerDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
    public String getPositionFlagDesc() {
        positionFlagDesc=BannerPositionFlagEnum.getDescByType(getPositionFlag());
        return positionFlagDesc;
    }
}

